<div appBsModal #modal="bs-modal" class="modal fade" [ngClass]="modalExpandOb.className"  tabindex="-1" role="dialog" aria-labelledby="modal"
    aria-hidden="true" [config]="{backdrop: 'static'}">
    <div class="modal-dialog modal-xl">
        <div class="modal-content">
            <div class="modal-header" style="padding:0.5rem">
                <h5 class="modal-title">
                    <span>{{title}}</span>
                </h5>
                <span class="pull-right">
                    <a class="btn btn-smallEx" (click)='modalExpandOb.modalExHandle("small")'>
                        <i class="bi bi-arrows-angle-expand" *ngIf="!modalExpandOb.isSmallEx"></i>
                        <i class="bi bi-arrows-angle-contract" *ngIf="modalExpandOb.isSmallEx"></i>
                    </a>
                    <a class="btn btn-fullscreen" (click)='modalExpandOb.modalExHandle("full")'>
                        <i class="bi bi-arrows-fullscreen" *ngIf="!modalExpandOb.isFullScreen"></i>
                        <i class="bi bi-fullscreen-exit" *ngIf="modalExpandOb.isFullScreen"></i>
                    </a>
                    <button type="button" class="close" (click)="close()" [attr.aria-label]="l('Close')">
                        <i aria-hidden="true" class="bi bi-x"></i>
                    </button>
                </span>
            </div>
            <div class="modal-body" >
                <div class="row">
                    <div class="col-6">
                        <taxonomy-tree #taxonomyTree [typeId]="typeId" (addTaxonomyItem)="addingTaxonomyItem($event)" (editTaxonomyItem)="editTaxonomyItem($event)" ></taxonomy-tree>
                    </div>
                    <div class="col-6">
                        <add-taxonomy-item #addTaxonomyItem  [typeId]="typeId" (taxonomyItemCreated)="taxonomyItemCreated($event)" (taxonomyItemUpdated)="taxonomyItemUpdated($event)"></add-taxonomy-item>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>